package io.geekidea.boot.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.geekidea.boot.test.entity.IssueFeedback;
import io.geekidea.boot.test.query.IssueFeedbackQuery;
import io.geekidea.boot.test.vo.IssueFeedbackVo;
import io.geekidea.boot.test.query.AppIssueFeedbackQuery;
import io.geekidea.boot.test.vo.AppIssueFeedbackVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 问题反馈 Mapper 接口
 *
 * @author geekidea
 * @since 2025-03-26
 */
@Mapper
public interface IssueFeedbackMapper extends BaseMapper<IssueFeedback> {

    /**
     * 问题反馈详情
     *
     * @param id
     * @return
     */
    IssueFeedbackVo getIssueFeedbackById(Long id);

    /**
     * 问题反馈分页列表
     *
     * @param query
     * @return
     */
    List<IssueFeedbackVo> getIssueFeedbackPage(IssueFeedbackQuery query);

    /**
     * App问题反馈详情
     *
     * @param id
     * @return
     */
    AppIssueFeedbackVo getAppIssueFeedbackById(Long id);

    /**
     * App问题反馈分页列表
     *
     * @param query
     * @return
     */
    List<AppIssueFeedbackVo> getAppIssueFeedbackPage(AppIssueFeedbackQuery query);

}
